# centerOfRotation attribute syntax

Use the following syntax to specify the centerOfRotation attribute:

`centerOfRotation="enumeration"`

where enumeration is one of: topLeft | topCenter | topRight | middleLeft | middleCenter | middleRight | bottomLeft | bottomCenter | bottomRight

`centerOfRotation="offset"`

where offset is a pixel location on the screen.

## See also

centerOfRotation attribute

enumeration